<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.TProgressCircle类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_t_progress_circle.html">TProgressCircle</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classawtk_1_1_t_progress_circle-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.TProgressCircle类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 awtk.TProgressCircle 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classawtk_1_1_t_progress_circle.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aa5f4b89c94c6ee4e0bbbe4f3ac63b7ca"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#aa5f4b89c94c6ee4e0bbbe4f3ac63b7ca">TProgressCircle</a> (long nativeObj)</td></tr>
<tr class="separator:aa5f4b89c94c6ee4e0bbbe4f3ac63b7ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3d6bdc4b725a7d4b4d1f3eb5c755d12"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#ac3d6bdc4b725a7d4b4d1f3eb5c755d12">setValue</a> (double value)</td></tr>
<tr class="separator:ac3d6bdc4b725a7d4b4d1f3eb5c755d12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7633c7bbeeea01c0719cb810abc5d73e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#a7633c7bbeeea01c0719cb810abc5d73e">setMax</a> (int max)</td></tr>
<tr class="separator:a7633c7bbeeea01c0719cb810abc5d73e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d0d6783185bc598760e194ade9b78e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#a5d0d6783185bc598760e194ade9b78e0">setLineWidth</a> (int line_width)</td></tr>
<tr class="separator:a5d0d6783185bc598760e194ade9b78e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea02b523f0917ad4cfea922c14f1fd5a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#aea02b523f0917ad4cfea922c14f1fd5a">setStartAngle</a> (int start_angle)</td></tr>
<tr class="separator:aea02b523f0917ad4cfea922c14f1fd5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fd6235befeb2ddd45f42a9e28694bca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#a6fd6235befeb2ddd45f42a9e28694bca">setUnit</a> (String unit)</td></tr>
<tr class="separator:a6fd6235befeb2ddd45f42a9e28694bca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88115edfcfe578c4e425d56368a77e3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#a88115edfcfe578c4e425d56368a77e3e">setLineCap</a> (String line_cap)</td></tr>
<tr class="separator:a88115edfcfe578c4e425d56368a77e3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4506e5e6691749606d66a0069d659c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#aa4506e5e6691749606d66a0069d659c7">setShowText</a> (boolean show_text)</td></tr>
<tr class="separator:aa4506e5e6691749606d66a0069d659c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89d9e902fdfe589a899407c5c261d5dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#a89d9e902fdfe589a899407c5c261d5dd">setCounterClockWise</a> (boolean counter_clock_wise)</td></tr>
<tr class="separator:a89d9e902fdfe589a899407c5c261d5dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2693d5b41d6b6b7bbca146e4b3d34a3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#ac2693d5b41d6b6b7bbca146e4b3d34a3">getMax</a> ()</td></tr>
<tr class="separator:ac2693d5b41d6b6b7bbca146e4b3d34a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab359f221caabb5c223411c076ce150f1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#ab359f221caabb5c223411c076ce150f1">getStartAngle</a> ()</td></tr>
<tr class="separator:ab359f221caabb5c223411c076ce150f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac54e679b5ae96866ba06ca9e80207b56"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#ac54e679b5ae96866ba06ca9e80207b56">getLineWidth</a> ()</td></tr>
<tr class="separator:ac54e679b5ae96866ba06ca9e80207b56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64e79045a84857f42459f5c90f825a34"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#a64e79045a84857f42459f5c90f825a34">getUnit</a> ()</td></tr>
<tr class="separator:a64e79045a84857f42459f5c90f825a34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f0506d6b0f460d65e6eaf40a793ced7"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#a0f0506d6b0f460d65e6eaf40a793ced7">getLineCap</a> ()</td></tr>
<tr class="separator:a0f0506d6b0f460d65e6eaf40a793ced7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0891dfa96a432dda348472658c038e6a"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#a0891dfa96a432dda348472658c038e6a">getCounterClockWise</a> ()</td></tr>
<tr class="separator:a0891dfa96a432dda348472658c038e6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f9aef746117059b2d6aa597ac7e2d48"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#a0f9aef746117059b2d6aa597ac7e2d48">getShowText</a> ()</td></tr>
<tr class="separator:a0f9aef746117059b2d6aa597ac7e2d48"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a1897d0d9d971c0ddbf2cb47897ea4130"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_progress_circle.html">TProgressCircle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#a1897d0d9d971c0ddbf2cb47897ea4130">cast</a> (long nativeObj)</td></tr>
<tr class="separator:a1897d0d9d971c0ddbf2cb47897ea4130"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34a4c66591a7b7a047cbca2083f2d886"><td class="memItemLeft" align="right" valign="top">static TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#a34a4c66591a7b7a047cbca2083f2d886">create</a> (TWidget parent, int x, int y, int w, int h)</td></tr>
<tr class="separator:a34a4c66591a7b7a047cbca2083f2d886"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb3ce12eb198950c957546f37679b11a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_progress_circle.html">TProgressCircle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_progress_circle.html#abb3ce12eb198950c957546f37679b11a">cast</a> (TWidget widget)</td></tr>
<tr class="separator:abb3ce12eb198950c957546f37679b11a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>进度圆环控件。</p>
<p>progress_circle_t是widget\_t的子类控件，widget_t的函数均适用于progress_circle_t控件。</p>
<p>在xml中使用"progress\_circle"标签创建进度圆环控件。如：</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">progress_circle</span> <span class="keyword">max</span>=<span class="stringliteral">&quot;360&quot;</span> <span class="keyword">show_text</span>=<span class="stringliteral">&quot;true&quot;</span> <span class="keyword">start_angle</span>=<span class="stringliteral">&quot;90&quot;</span> /&gt;</div>
</div><!-- fragment --><blockquote class="doxtable">
<p>更多用法请参考： </p>
</blockquote>
<p><a href="https://github.com/zlgopen/awtk/blob/master/demos/assets/default/raw/ui/progress_circle.xml">progress_circle.xml</a></p>
<p>在c代码中使用函数progress_circle_create创建进度圆环控件。如：</p>
<blockquote class="doxtable">
<p>完整示例请参考： </p>
</blockquote>
<p><a href="https://github.com/zlgopen/awtk-c-demos/blob/master/demos/progress_circle.c">progress_circle demo</a></p>
<p>可用通过style来设置控件的显示风格，如字体的大小和颜色等等。如：</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">style</span> <span class="keyword">name</span>=<span class="stringliteral">&quot;default&quot;</span>&gt;</div>
<div class="line">*&lt;<span class="keywordtype">normal</span> <span class="keyword">text_color</span>=<span class="stringliteral">&quot;green&quot;</span> <span class="keyword">fg_color</span>=<span class="stringliteral">&quot;black&quot;</span> /&gt;</div>
<div class="line">*&lt;/<span class="keywordtype">style</span>&gt;</div>
</div><!-- fragment --><blockquote class="doxtable">
<p>更多用法请参考： </p>
</blockquote>
<p><a href="https://github.com/zlgopen/awtk/blob/master/demos/assets/default/raw/styles/default.xml#L467">theme default</a> </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="aa5f4b89c94c6ee4e0bbbe4f3ac63b7ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5f4b89c94c6ee4e0bbbe4f3ac63b7ca">&#9670;&nbsp;</a></span>TProgressCircle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TProgressCircle.TProgressCircle </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>通过nativeObj构造Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a1897d0d9d971c0ddbf2cb47897ea4130"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1897d0d9d971c0ddbf2cb47897ea4130">&#9670;&nbsp;</a></span>cast() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_progress_circle.html">TProgressCircle</a> awtk.TProgressCircle.cast </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把nativeObj转换层Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<a id="abb3ce12eb198950c957546f37679b11a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb3ce12eb198950c957546f37679b11a">&#9670;&nbsp;</a></span>cast() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_progress_circle.html">TProgressCircle</a> awtk.TProgressCircle.cast </td>
          <td>(</td>
          <td class="paramtype">TWidget&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>转换为progress_circle对象(供脚本语言使用)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>progress_circle对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>progress_circle对象。 </dd></dl>

</div>
</div>
<a id="a34a4c66591a7b7a047cbca2083f2d886"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34a4c66591a7b7a047cbca2083f2d886">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static TWidget awtk.TProgressCircle.create </td>
          <td>(</td>
          <td class="paramtype">TWidget&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建progress_circle对象</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="a0891dfa96a432dda348472658c038e6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0891dfa96a432dda348472658c038e6a">&#9670;&nbsp;</a></span>getCounterClockWise()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TProgressCircle.getCounterClockWise </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否为逆时针方向(缺省为FALSE)。 </p>

</div>
</div>
<a id="a0f0506d6b0f460d65e6eaf40a793ced7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f0506d6b0f460d65e6eaf40a793ced7">&#9670;&nbsp;</a></span>getLineCap()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TProgressCircle.getLineCap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>线帽类型(round:圆头，square:方头)。 </p>

</div>
</div>
<a id="ac54e679b5ae96866ba06ca9e80207b56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac54e679b5ae96866ba06ca9e80207b56">&#9670;&nbsp;</a></span>getLineWidth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TProgressCircle.getLineWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>环线的厚度(缺省为8)。 </p>

</div>
</div>
<a id="ac2693d5b41d6b6b7bbca146e4b3d34a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2693d5b41d6b6b7bbca146e4b3d34a3">&#9670;&nbsp;</a></span>getMax()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TProgressCircle.getMax </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>最大值(缺省为100)。 </p>

</div>
</div>
<a id="a0f9aef746117059b2d6aa597ac7e2d48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f9aef746117059b2d6aa597ac7e2d48">&#9670;&nbsp;</a></span>getShowText()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TProgressCircle.getShowText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否显示文本(缺省为TRUE)。 </p>

</div>
</div>
<a id="ab359f221caabb5c223411c076ce150f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab359f221caabb5c223411c076ce150f1">&#9670;&nbsp;</a></span>getStartAngle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TProgressCircle.getStartAngle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>起始角度(单位为度，缺省-90)。 </p>

</div>
</div>
<a id="a64e79045a84857f42459f5c90f825a34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64e79045a84857f42459f5c90f825a34">&#9670;&nbsp;</a></span>getUnit()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TProgressCircle.getUnit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>单元(缺省无)。 </p>

</div>
</div>
<a id="a89d9e902fdfe589a899407c5c261d5dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89d9e902fdfe589a899407c5c261d5dd">&#9670;&nbsp;</a></span>setCounterClockWise()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TProgressCircle.setCounterClockWise </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>counter_clock_wise</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置是否为逆时针方向。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">counter_clock_wise</td><td>是否为逆时针方向。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a88115edfcfe578c4e425d56368a77e3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88115edfcfe578c4e425d56368a77e3e">&#9670;&nbsp;</a></span>setLineCap()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TProgressCircle.setLineCap </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>line_cap</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置线帽类型。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line_cap</td><td>线帽类型(round:圆头，square:方头)。。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a5d0d6783185bc598760e194ade9b78e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d0d6783185bc598760e194ade9b78e0">&#9670;&nbsp;</a></span>setLineWidth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TProgressCircle.setLineWidth </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>line_width</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置环线的厚度。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line_width</td><td>环线的厚度。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a7633c7bbeeea01c0719cb810abc5d73e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7633c7bbeeea01c0719cb810abc5d73e">&#9670;&nbsp;</a></span>setMax()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TProgressCircle.setMax </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>max</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置最大值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">max</td><td>最大值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aa4506e5e6691749606d66a0069d659c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4506e5e6691749606d66a0069d659c7">&#9670;&nbsp;</a></span>setShowText()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TProgressCircle.setShowText </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>show_text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置是否显示文本。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">show_text</td><td>是否显示文本。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aea02b523f0917ad4cfea922c14f1fd5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea02b523f0917ad4cfea922c14f1fd5a">&#9670;&nbsp;</a></span>setStartAngle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TProgressCircle.setStartAngle </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>start_angle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置起始角度。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">start_angle</td><td>起始角度。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a6fd6235befeb2ddd45f42a9e28694bca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6fd6235befeb2ddd45f42a9e28694bca">&#9670;&nbsp;</a></span>setUnit()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TProgressCircle.setUnit </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>unit</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置单位。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">unit</td><td>单位。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ac3d6bdc4b725a7d4b4d1f3eb5c755d12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3d6bdc4b725a7d4b4d1f3eb5c755d12">&#9670;&nbsp;</a></span>setValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TProgressCircle.setValue </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/TProgressCircle.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
